package com.fegin.bean.admin;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 系统协议
 * </p>
 *
 * @author 张子艺
 * @since 2019-01-22
 */
@TableName("com_config_agreement")
public class SysAgreement extends Model<SysAgreement> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 文本
     */
	private String content;
    /**
     * 最后一次修改时间
     */
	@TableField("update_time")
	private Long updateTime;
    /**
     * 类型 1 用户协议
     */
	private Integer type;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "SysAgreement{" +
			"id=" + id +
			", content=" + content +
			", updateTime=" + updateTime +
			", type=" + type +
			"}";
	}
}
